home *** CD-ROM | disk | FTP | other *** search
/ The Best of MacTutor - S…e Code for Volumes 1 to 5 / The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin / Source Code / #49 (Oct 89) / DMP Source / src / Makefile < prev    next >
Makefile  |  1989-01-02  |  2KB  |  59 lines

  1. #
  2. # This file is part of the DMP-110 printer driver for the Macintosh
  3. # series of computers.
  4. # Earle R. Horton Wednesday, November 30, 1988
  5. #
  6. # Makefile for DMP-110 v1.0.
  7. # This is the Makefile for use with MPW C, v 2.0.2.
  8. #
  9.  
  10. CFLAGS = -g
  11.  
  12. .c.o ƒ .c
  13.     C {CFLAGS} {default}.c -o {default}.c.o
  14.  
  15. .a.o ƒ .a
  16.     Asm {default}.a -o {default}.a.o
  17.  
  18. DMP-110 ƒƒ PACK PDEF0 PDEF4 PDriver DMP-110.rsrc mpwfinal.r
  19.     Rez -o DMP-110 -c 'Dmp1' -t 'PRER' mpwfinal.r
  20.     SetFile DMP-110 -a B
  21.  
  22. DMP-110.rsrc ƒƒ DMP-110.rsrc.r makefile
  23.     rez -o DMP-110.rsrc -t 'rsrc' -c RSED DMP-110.rsrc.r
  24.  
  25. PACK    ƒƒ MPWGlue.a.o pack.c.o
  26.     link MPWGlue.a.o pack.c.o ∂
  27.         -m PACKENTRY -d ∂
  28.         {libraries}interface.o -rt PACK=-4096 -sn Main="Chooser Device" ∂
  29.         -ss 100000 -o PACK -t 'rsrc' -c RSED
  30.  
  31. PDriver ƒƒ MPWGlue.a.o PDriver.c.o
  32.     link -m DriverEntry -d MPWGlue.a.o  PDriver.c.o {clibraries}cinterface.o ∂
  33.         {libraries}interface.o {clibraries}CRunTime.o {clibraries}StdCLib.o ∂
  34.         -rt DRVR=-8192 -sn Main=.XPrint ∂
  35.         -ss 100000 -o PDriver -t 'rsrc' -c RSED
  36.  
  37. PDEF0   ƒƒ MPWGlue.a.o PDEF0.c.o
  38.     link -m PRINTENTRY -d MPWGlue.a.o PDEF0.c.o  {clibraries}cinterface.o ∂
  39.         {libraries}interface.o {clibraries}CRunTime.o ∂
  40.         {clibraries}StdCLib.o -sn Main="Draft Printing Code" ∂
  41.          -rt PDEF=0 -ss 100000 -o PDEF0 -t 'rsrc' -c RSED
  42.  
  43. PDEF4   ƒƒ MPWGlue.a.o PDEF4.c.o
  44.     link -m DIALOGSENTRY -d MPWGlue.a.o PDEF4.c.o {clibraries}cinterface.o ∂
  45.     {libraries}interface.o -sn Main=PrDialogs ∂
  46.          -rt PDEF=4 -ss 100000 -o PDEF4 -t 'rsrc' -c RSED
  47.  
  48. install ƒ   DMP-110
  49.     duplicate -y DMP-110 "{systemfolder}DMP-110"
  50.  
  51. clean   ƒ
  52.     delete -i "{systemfolder}testDMP-110" ∂
  53.     `files -m 300 -t rsrc ;files -m 300 -t PRER;files -m 300 -t 'OBJ '`
  54.  
  55. PDEF0.c.o   ƒ DMP-110.h
  56. PDEF4.c.o   ƒ DMP-110.h
  57. PDriver.c.o ƒ DMP-110.h
  58. pack.c.o    ƒ DMP-110.h
  59.